package com.dq.health.entity.prescription;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * 处方单明细表
 * 
 * @author chenxin
 */
public class PrescriptionOrderItem implements Serializable {

    /**
     * 处方单明细表id
     */
    @TableId(value = "prescription_item_id", type = IdType.AUTO)
    private Long prescriptionItemId;

    /**
     * 处方单主单id
     */
    private Long prescriptionId;

    /**
     * 药品id
     */
    private Long drugId;

    /**
     * 药品数量
     */
    private Integer drugNum;

    private BigDecimal drugPrice;

    /**
     * 用法用量
     */
    private String usage;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    /**
     * 获取处方单明细表id
     */
    public Long getPrescriptionItemId() {
        return prescriptionItemId;
    }

    /**
     * 设置处方单明细表id
     */
    public void setPrescriptionItemId(Long prescriptionItemId) {
        this.prescriptionItemId = prescriptionItemId;
    }

    /**
     * 获取处方单主单id
     */
    public Long getPrescriptionId() {
        return prescriptionId;
    }

    /**
     * 设置处方单主单id
     */
    public void setPrescriptionId(Long prescriptionId) {
        this.prescriptionId = prescriptionId;
    }

    /**
     * 获取药品id
     */
    public Long getDrugId() {
        return drugId;
    }

    /**
     * 设置药品id
     */
    public void setDrugId(Long drugId) {
        this.drugId = drugId;
    }

    /**
     * 获取药品数量
     */
    public Integer getDrugNum() {
        return drugNum;
    }

    /**
     * 设置药品数量
     */
    public void setDrugNum(Integer drugNum) {
        this.drugNum = drugNum;
    }

    public BigDecimal getDrugPrice() {
        return drugPrice;
    }

    public void setDrugPrice(BigDecimal drugPrice) {
        this.drugPrice = drugPrice;
    }

    /**
     * 获取用法用量
     */
    public String getUsage() {
        return usage;
    }

    /**
     * 设置用法用量
     */
    public void setUsage(String usage) {
        this.usage = usage;
    }

    /**
     * 获取创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置更新时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}